fix iOS 7 and improve scale