fix bug i tasks controller / show.html crash whole app