clear marks in clear and reset methods