Fixbug when no checkbox is checked and submit