important random_panel fix