better fix for missing declaration (also needed in p.c)