fixed the bug. Called init from init