fix matchdep and copy dojox hack