fix deprecated
Merge pull request #41 from peterlee0127/develop

fix deprecated