fix for #565

this resolves the issue #565 for me. how strange that no one else had issues with this ? am i missing something ?