fix for panel