fixed some stuff in preparation for app store submission