Fixed some bug in the minifier