[FIX] prevent code execution if module is not installed