fixing init issue