fix bug in require path