delete redundant lines
fix whitespace