bug there are values same as the input value fixed