fix missing typeof