bugfix request.db getter lambda