fix core from null nsr.