fixing bad markup