fixed local deployment problems