remove line breaks and extra spaces in getCleanName
add comment