trying to resolve db issues