fixed bug to make sure that the last pipe will be used for combination syntex