Fixed error  when deleting article