fixed case where a player was null and tried to make a move