bug fixes at "add new item"

can't give 0 as value
can't add item without category