minor fix no-copy
Merge pull request #2520 from nabinhait/fix1

minor fix no-copy