fix minfication bug