fixes  #2354

fixed the issue.

Please check.