possibly fixed database error