add "nullable" to some fields in model