small refactor to latin1 strings

this will improve a little performance