fixed some bugs with elo