fix names to be of the a-b form