fixed crash caused by PFN problems