Issue 575

bug fix for #575