no database in local scope, imported database's functions instead of database