flush handlers