fix two errors in the dojo rules