remove generic entities