nasty in line bug fix