fixed bugs in checkscore