remove useless filter condition