nscache bug fixed

nscache caused crash