fix destination table bug