problem with setting the input value