bug fix in constructor (4)