corrected duplicate id error