Fix spectrum and agc value