fix incompatabilities that now exist with database updates made