minified some code