remove whitespaces from unit# (name) container