fix some communication problems