README example fix

Fix example code typo that causes syntax error.