corrected modbuild module