fix clustering