fix pb during minification