Fixing issue with wrong require

Fixes #469