forgot to revert to correct threshold