fix bug of iOS7