Fixed a stacktrace printing bug + renamed a member of the module struct