test removal of wrong space chars