Remove spaces from debug text