fix for cs5/cs6 for mac and win