fix package, install and deploy tasks