Fixed access to module pointers