dafault fields changed to int