Refactor

Make the logic of clear full row clear.