wine example code fixed