fixed crash if browser didn't have anything cached