fixed bug at initialization