fixes following testing with QOF