fixing fixlt character to factor conversion