fix jersey warning