fix bugs and add comments on simple_move_and_targeting_phase