fix amazon offline problem