fix multiple arg passing to console.log for wsh, and showing better errors