fixed go o next tile func