typo when checking the type of the zproperty