delete comments and spaces