Fix type of max_age
Fix empty field type