Fix bug introduced by filling the modules variable