bug fix for saving content, npm 1.8.41