fixed gem issue for aws