getting rid of DEBUG messages and making delete act hashlike