fixed missing init with getNames function...