correction framework