Preventing errors from empty sidebar info