work around strange fn decl problem