remove references to alarm model