fix minor bug in moveSet