fix missing prototype