delete type check