bugfix: task id out of int range