bug fixes on task manager