resolve invice index error
Merge pull request #335 from vaibhavcisin274/vaibhav

resolve invice index error