fix method clash under SWIG [thanks elen4]