fixed multiple popups after invalid move