add lwt-syntax, fix error reporting bug