Fixes in treshhold