undo the mod definition changes