minor bug fix in require_relative