cors config
modified model verification