#50 fix bugs of nullpointer when input wrong task id