Fixed init method overwriting properties