Fixed error when disabling module output