fixed bug in ng-state