Remove ids in acts; some bugs corrected