fixing incorrect element in jquery