fix in extract clusters