Alas, I've got it working. Do the following changes.
Katsuri, Thanks for your solution, it works great!