fix a bug caused by minify