tweaks to make Sim compatible with OS X 10.8