workaround for some strange bug on old Mac.