   constructor: (params) ->
     super
 
+    query = undefined
+    if !_.isEmpty(params.query)
+      query = decodeURIComponent(params.query)
+
     # cleanup params
     clean_params =
-      query: params.query
+      query: query
 
     App.TaskManager.execute(
       key:        'Search'

    if !@authenticate(false)
      App.TaskManager.remove(@task_key)
      return

    # update taskbar with new meta data
    App.TaskManager.touch(@task_key)


  show: (params) =>
    @navupdate(url: '#search', type: 'menu')
    return if _.isEmpty(params.query)
    @$('.js-search').val(params.query).trigger('change')
    @throttledSearch(true)

  hide: ->
