fix name filtering