fix panel caching