fixed the problem that inserts REPLICA_GENERATION_TARGET_ID_TRIGGER as a target ID even for 'function' information.