fixed if/else proxygen structure not breaking on a match.
Fixed small typo in propertydef.