fix puzzle solvability