fix fieldnames