remove whitespace and comment