Fix error linking accounts