fix write bug for new jekyll