fixed jpa setup/config