remove unnecessary value attribute