fixes for errors reported by Sue Ann