fixed bug where piped input would change caches and logs