Fix iPhone 5 and iPad bug, Please check it :)