There is some bug.. not all values are getting eliminated