fixed add value, added delete value and add custom value, some fixes after last bad commit