added error messages in transport