remove trailing spaces
fix missing colon