fixes require, closes #78