splice out the proper element