fix some ui-router bug