remove value from inputs, removed closing tag before span tag