duh, found out why pipe error happenned