fixed the method_missing implementation