bug fix for 876a136  -  thx @ivanseidel