fixed plugins unloaded when cache is updated