cleaning up of markup interface