this resolves #2952 compile error
Merge pull request #2953 from liveforeverx/fix_compile_error

resolves #2952