fix removal of db access from utils.py