check if stdClass is set (friendly name) - fixes error logs