cleaning after init