fix for jersey 1.18