solved a bug introduced by my previous commit, that would prevent from editing an article