certain ROMs come with certain apps preinstalled, so if you flash an aosp ROM then it might not have the Google apps (maps, nav, etc) or something similar. Your problem might be as simple as that, although if you're unable to install the missing apps you might want to wipe and reflash your ROM to see if that helps