get rid of invalid threshold