fixed display details setting, prevent calling callback multiple times per step