add pipe data check. a fix for ZEN-54