fix for cleanup pdns response generator