fixing case where pipe already exists