refactor alert parsing