remove logs and bytes to boolean