fixed for node-webkit