remove hidden entities