remove platform whitespace