use find_by_id for settings instead of find