Fix broken brake() controller script function.