add options validation check