fix errors in markup