Pipe tag is reading wrong