fix bug and add readme