Feature alarm

* fix pattern match