removing failing element code