corrected securing enough space for caching