You won't believe how I fixed this bug.