fix the panel