fixed minor bug in printMove