fixing aws mistake