add checks to cut flow dump