new correction for find_perfect