fixed error with db.scm