bug fix

Fixed crash on 64 bit devices running iOS 7.1