fix display bug on filtering