Fix for https://github.com/lefthandedgoat/canopy/issues/173