fixed communications.py