rejig foreign key display