add extname verification