did tie game condition, some more backend fixes