bug fix and fix to README