replace Properties to ResourceBundle.