leg input changes to allow links