small fix for JPA instance