quick fix for register require

fix for bug introduced in #498. i didn't catch it because the correct file gets required transitively also