panic bug fix