add super call in constructor if missing