Fix bug about remaining processing time