do proper checking for drill_diam of 0 for modules (bug fix)