settings: fix id check