update main to checkval without extension