first try dotted lists, then lists. otherwise it fails on dotted lists somehow