Don't put the $ sign when printing the result since it may be something else.
Fixed a bug when using the optimizer and a broker with adjusted values.