send gain to gui FIX