fix uploadcare.whenReady()