check default value if it is a list