fixed protocol problems