Altered INVALID_LEVEL to INVALID_VALUE