fix check for budgetype indexOf