protection for module number against crash in QAMaker