correcting ansys.py