fixed the flow from what i do to work