fix require.packages