fixed logging view by stripping null characters which were corrupting textview