sample bug fix