change taskid parameter from string to int