ploy guard bugfix.