fix: wrap an immediate function invocation in parenthesis