fixed install sql issue