markdown/rendering fixes