Update to fix with version 2.0.10. Also fixed trailing slash problem