fix shorten name modifying filename - which it should not do.