fixed initialization issue