Correct a bug on Mac Os X.