Your flow is corrupt. please read
I will also need what the inputs are asand what you want the output to loko like. please add some debug outputs of the inputs, etc