fix bugs with bigint
Merge branch 'phoenix' of github.com:InvictusInnovations/fc into phoenix