minor bugfix on task stat page