bug fix with null piplines when it is a trival result