regression bug fix