fixed some deployment issues