fix in checkval