fix 500 result on emptyresultdataaccessexception