fixes NPE due to an accidentally created default method.