fix readme and add bugs