Fixes trailing spaces on coursename