Fixing output problems with no cache