fix the findbugs rest call