remove join duplication