Fix saving in Chrome