trying to fix piping issue