Fixes NPE because of incorrect module initialisation assumption