fixed some bugs with games