Remove unused guids