add a readme and fix an issue