source bug fix