fixed UI issue for iOS7