shortmaze debugging  improvement