                 name = "type"
             @scope.httpParams[name] = values
 
-        promise = @rs.issues.list(@scope.projectId, @scope.httpParams).then (data) =>
+        return @rs.issues.list(@scope.projectId, @scope.httpParams).then (data) =>
             @scope.issues = data.models
             @scope.page = data.current
             @scope.count = data.count
             @scope.paginatedBy = data.paginatedBy
             return data
 
-        return promise
-
     loadInitialData: ->
         promise = @repo.resolve({pslug: @params.pslug}).then (data) =>
             @scope.projectId = data.project
             return data
 
-        promise.then null, =>
-            @location.path("/not-found")
-            @location.replace()
-
         return promise.then(=> @.loadProject())
-                      .then(=> @.loadUsersAndRoles())
-                      .then(=> @.loadFilters())
-                      .then(=> @.loadIssues())
+                      .then(=> @q.all([@.loadUsersAndRoles(),
+                                       @.loadFilters(),
+                                       @.loadIssues()]))
 
     saveCurrentFiltersTo: (newFilter) ->
         deferred = @q.defer()


        promise = @.loadInitialData()

        promise.then () =>
            @appTitle.set("Issues - " + @scope.project.name)
            tgLoader.pageLoaded()

        promise.then null, ->
            console.log "FAIL" #TODO

        @scope.$on "issueform:new:success", =>
            @.loadIssues()

        return filters[name]

    loadMyFilters: ->
        return @rs.issues.getMyFilters(@scope.projectId).then (filters) =>
            return _.map filters, (value, key) =>
                return {id: key, name: key, type: "myFilters", selected: false}

    removeNotExistingFiltersFromUrl: ->
        currentSearch = @location.search()
        urlfilters = @.getUrlFilters()

        for filterName, filterValue of urlfilters
            if filterName == "page" or filterName == "orderBy" or filterName == "q"
                continue
