strip failed components before passing to UI, and remove any containers if failure happens afterwards