properly initialize gain_callback