Fix flow resumption