fix the bug by selecting unique users