clean up markup