fixing strange or too long names