Fixed type issue in readme example