diff --git a/package.json b/package.json
index 04c3859f513d6955989084e36f265471ab3b464f..b54470209ff9386ac9576020727721e2115d57b1 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
     "test": "mocha --growl --timeout 20000 test test/fast test/fast/block test/integration test/",
     "start": "node bin/ucoind start",
     "test-travis": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --timeout 20000 test test/fast test/fast/block test/integration test/",
-    "postinstall": "mkdir ui -p && cd ui && npm pack ucoin-ui@0.1.19 && tar xzf ucoin-ui-0.1.19.tgz && cd package && npm install --unsafe perm && cd .. && rm ucoin-ui-0.1.19.tgz"
+    "postinstall": "mkdir ui && cd ui && npm pack ucoin-ui@0.1.19 && tar xzf ucoin-ui-0.1.19.tgz && cd package && npm install --unsafe perm && cd .. && rm ucoin-ui-0.1.19.tgz"
   },
   "repository": {
     "type": "git",