flxdelay cleanup