fixing typing text