attached small patch fixes the issue.