fix bin/deploy, close #326