fix resourceBundle and web's configs