Fixed the few issues, working now. I can export both the categories now.