fixed raw cells values calculation