Inserted check in correct_coupleDy.py. Avoids cryptical error message