fixes to money code