fixed conversion of cents to dollars in layouts. Fixes #160