make resourceBundle optional