fix boot procedure