maze runs properly