fix for #4

closes #4