made error message appear when the student couldn't submit due to being late