Fix typo and faulty for init.