error handling added to wemo view.