some feature for mac osx