max links: remove the error message when the layer is turned off
max links: reduce portal limit to more sensible levels