fixed bug where input wasn't being zeroed out when under threshold