Now genX and bracketX remove extra spaces left over from their removal.