Fix stupid function deletion