fix compatibility
Merge pull request #304 from dualface/develop

fix compatibility