Fixed bug caused by minification