fixing runtime bug -- typo in require code