bug fix for t(x) %*% y when y is S4