home working except onclick for submissions checkbox