Fixed problem with match but compilation fails

due to cyclic reference in symbols.