Fixed delete issue on flow