typo in Readme

The example code on readme is wrong. Here is a fix for this.