ios5 fixes