some deployment fixes