move setting dictionary to public