enhance checkval for keepStatic