for check_goftari.py, added function that removes marks