Update version
Merge branch 'rel-0.5.2'. fixed #1