added error to minification step