fixes rst syntax for headers