fix theta reading bugs