Fix error in initialization