fixes  #2525

Fixed the issue.

Please check.