add delete function and normalize function name