Bug in initialization