fix bug on iOS7 is not work