resolve running environment problems