clearing for reset