fixed major errors on  Deployment interface.