fixed database stuff