Fix reg list parsing