fix some bug in move printing