solve d-module