patch for exception: no match of right hand side value