fixing broken init