some bugs in editLineUp and editPenalties