Added missing module setting check