fixing restangular prob