initialization of default is happening to late