add precheck to modules