fixed database bug..