final step for initialization
some corrections