require, bug fix

fix bug