fatal bug fix