Rest service fixed