forgot a return in caching code