Set correct max target.