fixed an error caused by updating battlenet-api