rateratio error check