fix use_settings method
fix routes