fix for panel plot