Fixed error with client not passing messages