Fixed crash when calling undefined delet function on startup.