this resolves #2952