fix whitespace clipping issue