Fixed formatting of text input