fix require error

this fixes #169