fixed wrong `this` within modules fixes #97