Fix mode line assertions