Small fix in require replacement