fix order of markup