remove trailing whitespace, switch from code to description