fix issue with initialization