fix problems with dojo parser