fixed issue with 'require'