handle copying from some namespace to main namespace