fix AWS Record method