fix support in setting mw.config from url hash