fixed export to mobile with empty categories