core data fault bug fix