iOS6 fix attempt 2

Signed-off-by: Chris Boon <cboon27@gmail.com>