fix response not being cached due to incorrect pipeline