beego hook change the path & fix the migration bug