fixed issue with reading dotted list in read_tail (need to pop)