Replace AWS. instead of AWS so that it does not catch unnecessary lines