fix method.examples condition