fixed splice error when removing current product