handling no sources loaded situation