fixed off by one row size