fixing the direction and caption of extension relationships