Fix bug in README example code