resolve default value if callable