Fixed pipe and location

Fixed pipe and location