Fixed result off-set bug