fix consume cost time bug