Fixed missing $ symbol, fixed wrong delete function name