fix wrong echo in markup class