update minified version & bugs