fix puzzle manager