Fixed nba's argument and function. Removed redundant default values from host and port arguments.