fix run exec when ocurred error