fix a possible require analyze bug