fixed problems with MacApp