remove empty spaces around labels