prevent inspect from showing connection and credentials.