Strange bug fix