Deploy improvement:
* fix bugs;
* add deploy example;
* remove duplicated params.