Bugfix with threshold + minified file