Resolved the tasks index page error