Fix typos and remove bad moves on viable moves