fix for empty tasklist