GEN: fix for matching correct proc in header