propagate code path from master to slave.