split Alert into Alert and AlertRecord