fixed single mod def bug