Fix deployment problems.