Removed duplicated relations

Minor changes too