fix buglet introduce by numpy->np change
R 0.7.5.1