remove empty or null objects from display