Fixed new row bug (hopefully)