fixed bug with one to one ratio measurement