catch error when trying to render non-existent widget-objects