fixes  #2421

Fixed the issue.

Please check.