fixed problem after fixed database