made some further changes to the submit checkbox