             @$el.find('.content').css 'max-height': max_height
 
         render: ->
-            if @collection.isEmpty()
-                console.log 'rendering empty'
-                return @el
             embedded = @embedded
-            data = @collection.first().toJSON()
+            data = @model.toJSON()
             description = data.description
             if @back?
                 data.back_to = i18n.t('sidebar.back_to.' + @back)

                        @back = 'search'
                when 'details'
                    view = new DetailsView
                        collection: @selected_units
                        back: @back
                else
                    @back = null

            @el.innerHTML = template_string
            @set_max_height()

            if @route?
                @route.clear_itinerary window.debug_map
            if @model.get 'location'
                if not @route?
                    @route = new transit.Route()
                    @route.on 'plan', (plan) =>
                        @route.draw_itinerary window.debug_map

                coords = @model.get('location').coordinates
                @route.plan '60.171944,24.941389', "#{coords[1]},#{coords[0]}"

            return @el
