Prevent crash when used on iOS6

Prevents iOS6 crash incase this ends up there