fixed iOS 7.1 layout problem