this resolves #2952 compile error