fixed error in stdgrv