fix bug when no stories