fixed database drop error