removed a couple of warning from old algorithms