Fix broken startup code.