fix for issue195

Already merged to 4.3.x branch.