Fix issue of saving null for useAge, useYear, useGender and useHomeClass