alfred: clean up delay code