fix problem with the properties generator
actually, xtend was working except with the getmethod,invoke, but xtend
was masking the exception :-(