fix compatibility
Merge pull request #303 from dualface/develop

fix compatibility