remove useless private method