fix for parsing dotted lists