fix whitespace insertion