Fixed bug in "require"