changed saving binary tables bug