update readme markup and some bug fix