fixed a bug related to PaaS deployment