fix grading issues for some problems with multiple parts