correct broken markup