error in quantmod correction