fixing some communication problems