added null parentNode check to Blank endpoints cleanup method