fixed markup bug