fix which id getting checked