correct global require function
release 0.4.0