bug fix in observer pattern matcher #5