enhance is minified function