fix whitespace in generic and darwin