remove legacy maze code