fix output range