add scope to validate a message whether it has a hub id