Fix iPhone 3gs bug