fix bug in require fs