Minor: fix require error and absolute url problem