fixed the editing of total marks