fix boardMove method