move README.md to README.rst
fix panic due to interface error, ensure that the error cast works