slight clear and error checks on the browse page