fix error encountered in deployment