fixing preinit