Fix warnings from running check_submission script