FIxed fixString function