fixed misplaced puts for invalid move