adjust delay
fixed crash in iOS 8