Head bug fix