iOS warning/error fixes