applying LRN's patch to fix startup issue