1. add mac support
fix title issue