error on reference class toString
throw error on R class on valueOf
fix alloc call