Fix problems with input id when is name dependent. Now is stated