rst layout cleanup