Fixed problem with init