Fix bug in markup