correcting values in markup