return null instead of [] if there's no enum