fix in deleting; new v3 and v4; remove logging