logging + remove namearry