clear the console after every step