fix $http with .success()