edited input tag form proper binding