Fixed bugs in parsing old stata formats