allow validate slice and map