simplify fix for #442
Merge pull request #443 from michaelficarra/GH-442

simplify fix for #442