remove some consoles and comments