modify code for 3.0
Merge pull request #2 from htlxyz/v3quick

modify code for 3.0