fix task add error display problem