fixed error: duplicating multipying Rails.env in load_options