Fixed writing to the first row this time