small fix for hiding reg checkbox