strip trailing spaces
remove goto comment