Removed fmt debugging again.
Fixed local cache bug.