fixes to bigrat
bigrat fixes