fixed alarm panel bug