bug fix for code minify