" Fixed the 1-d error checking"