dbreq is not defined