fix scan issue, when a new type added, we must add the options here