fix bug in front-end editing of blogs