mac compatibility improved