fit for ios5 at the text ui and ns