panel.js fix