fixed leaks
added value.value attr