fix task detal bug