Fixed AWS security issue