fixed issue #4, self.creds['hostname']
fixed issue #4, self.creds['hostname']