fixes bug in articles controller