fixed some post angularjs upgrade thing