METIS problem solved totally/code is now stable