fix bug with router dispatch
fix issue with module path