fixed cache blowing up on null source. closes #7