fix bug in multiple loads of router
todo gulp