     Message.toast message, 5000
     return null
 
-
   ###
    update projects and remove projects which was not fetched.
    @param projectsList {Array} - array of fetched projects.
   ###
   _updateProjects = (projectsList) =>
     projects = projectsList.compact().flatten().unique("id")
+    return if projects.length is 0
 
     # update settings specified by user, using saved data on chrome.
     saved = DataAdapter.getProjects(projects[0].url)

      $q.all([_loadProjects(a), _loadStatuses(a)])
        .then(_loadIssues(a))
        .then(_loadIssueCount(a))


  ###
   load projects from redmine.

    Option.onChanged('hideNonTicketProject',  _toggleProjectHidden)
    Log.debug "[4] initializeEvents success"

  ###
   load some data from redmine.
  ###
