remove useless private method, it can be replaced by the generic one and avoid 2 filtering of strings