Fixed Wasi's code