fix doubly-defined methods