fixed measurement issue