cleaup error handing in FmpdoDb