fixing dojo rules