add check of property type