remove specific value element from array, note continous appearance of target