finish SQLManager