Fixed check on pipe