getting rid of old markup