fixing a bunch of stuff before submitting to app store