fixed unused use statement when the use is for a sub-namespace
partially reverted previous commit