fixed a bug re: writes... found a couple more.