fixed problem with sql