removing trace in constructor