fix null task in submit_log