2x bugs - score value error and switching sides