fix bug in logs view of unit details