Fix invocation of initialize

Fixes #2229 for me