Fixed init problem