rollback safe remove hack. it makes execute js file through mongo much more buggy.