fixed the non-static cache::created method