fix bug in readme api example for .prop