fixes dist minifier/uglifier issue