Fixed off by one column bug