remove annoying warning
fix crash on < iOS 7