Fix rest method