calling private from constructor fix