fix error on editing a budget (kind of)