further code cleanup

setting a boolean to false when it is already false is unnecessary code