methodselector: bug fixes